import { Ab_DataBlocker_bA, Ab_DataTransfer_bA } from "../../A-FRAME/A-LIB/lib.b.data";

class Ab_Status_bA {
	/** 棋盘洗牌中 */
	Ab_shuffling_bA: boolean;

	/** 设备ID */
	Ab_deviceID_bA: string;

	Ab_removeTileCount_bA: number;

	/** 游戏是否结束 */
	Ab_gameover_bA: boolean;
	Ab_resurgence_bA: number;

	/** 挑战人数统计值 */
	Ab_statistics_count_bA: number;
	/** 挑战次数统计值 */
	Ab_statistics_round_bA: number;
	/** 平均收获值 */
	Ab_statistics_free_bA: number;

	Ab_guideInited_bA: boolean;
}

const Ab_blocker_bA: Ab_DataBlocker_bA<Ab_Status_bA> = {
	Ab_get_bA: {
		Ab_statistics_count_bA(proxy, value) {
			return value??0;
		},
		Ab_statistics_round_bA(proxy, value) {
			return value??0;
		},
		Ab_statistics_free_bA(proxy, value) {
			return value??0;
		},
		Ab_guideInited_bA(proxy, value) {
			return value??false;
		},
	}
}

export default function Ab_get_proxy_status_bA(name?: string, prefix?: string){
	return Ab_DataTransfer_bA.Ab_initProxy_bA(name??'Ab_status_bA', new Ab_Status_bA(), false, Ab_blocker_bA, prefix??'');
}